package com.benz.user.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.benz.user.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

@Component
public interface OrderMapper extends BaseMapper<Order>{
    //@Select("SELECT id,order_sn FROM bz_order WHERE id = #{id}") // 直接使用注解定义SQL也是可以的，但不是必须的。XML方式通常更清晰。
    Order getOrderList();
}